if [ ! id -u docker >/dev/null 2>&1 ]; then
  useradd docker
fi

nfs_dir="/home/nfs-root"
if [ ! -d $nfs_dir ];then
  mkdir $nfs_dir
  chown docker:docker $nfs_dir
fi

echo "/usr/local/lib" >> /etc/ld.so.conf
dnf config-manager --set-enabled powertools
ansible-playbook ./install-nfs.yml

